package com.yunsom.testdemo.design.state;

/**
 * @author Xbao
 * @description
 * @date 2022/6/22 13:11
 */
public class StartState implements State{

  @Override
  public void doAction(Context context) {
    System.out.println("Player is in start state");
    context.setState(this);
  }

  public String toString(){
    return "start state";
  }

}
